package param.sell;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import param.pub.Publicresponse;

/**
 * 售票接口应答参数
 * 
 * @author ice
 * 
 */
@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlRootElement(name = "sellresponse")
public class Sellresponse implements Serializable {

	private static final long serialVersionUID = 3160210962003385237L;

	private Publicresponse publicresponse;// 公共信息 Publicresponse

	private String departdate;//发车日期String10Yyyyy-mm-dd
	private String departstationname;//发车站名称Stirng100N
	private String schedulecode;//班次代码String20Y
	private String orderno;//订单号String40Y
	private String scheduletype;//班次类型String1Y0:普通、1:直达、2商务，3旅游专线
	private boolean isovertime;//是否加班boolean1Y0:正班、1:加班
	private boolean islineschedule;//是否流水班boolean1Y1为流水班， 0为非流水班
	private String starttime;//始发时间String5Y
	private String endtime;//末班时间String5Y
	private String departtime;//发车时间String5Yhh:nn
	private String reachstationcode;//到达站代码String20Y到达站代码
	private String reachstationname;//到达站名称String100N
	private String seattype;//座型String20Y普通座、商务座、卧铺等等
	private String vehicleno;//车牌号String20N
	private String distance;//里程String40N
	private String ticketentrance;//检票口String40N
	private String waitingroom;//候车厅String40N
	private String buspark;//乘车卡位String40N
	
	private List<Sellticketout> tickets;

	public Publicresponse getPublicresponse() {
		return publicresponse;
	}

	public void setPublicresponse(Publicresponse publicresponse) {
		this.publicresponse = publicresponse;
	}

	public List<Sellticketout> getTickets() {
		return tickets;
	}

	@XmlElementWrapper(name = "tickets")
	@XmlElement(name = "ticket")
	public void setTickets(List<Sellticketout> tickets) {
		this.tickets = tickets;
	}

	public String getDepartdate() {
		return departdate;
	}

	public void setDepartdate(String departdate) {
		this.departdate = departdate;
	}

	public String getDepartstationname() {
		return departstationname;
	}

	public void setDepartstationname(String departstationname) {
		this.departstationname = departstationname;
	}

	public String getSchedulecode() {
		return schedulecode;
	}

	public void setSchedulecode(String schedulecode) {
		this.schedulecode = schedulecode;
	}

	public String getOrderno() {
		return orderno;
	}

	public void setOrderno(String orderno) {
		this.orderno = orderno;
	}

	public String getScheduletype() {
		return scheduletype;
	}

	public void setScheduletype(String scheduletype) {
		this.scheduletype = scheduletype;
	}

	public boolean isIsovertime() {
		return isovertime;
	}

	public void setIsovertime(boolean isovertime) {
		this.isovertime = isovertime;
	}

	public boolean isIslineschedule() {
		return islineschedule;
	}

	public void setIslineschedule(boolean islineschedule) {
		this.islineschedule = islineschedule;
	}

	public String getStarttime() {
		return starttime;
	}

	public void setStarttime(String starttime) {
		this.starttime = starttime;
	}

	public String getEndtime() {
		return endtime;
	}

	public void setEndtime(String endtime) {
		this.endtime = endtime;
	}

	public String getDeparttime() {
		return departtime;
	}

	public void setDeparttime(String departtime) {
		this.departtime = departtime;
	}

	public String getReachstationcode() {
		return reachstationcode;
	}

	public void setReachstationcode(String reachstationcode) {
		this.reachstationcode = reachstationcode;
	}

	public String getReachstationname() {
		return reachstationname;
	}

	public void setReachstationname(String reachstationname) {
		this.reachstationname = reachstationname;
	}

	public String getSeattype() {
		return seattype;
	}

	public void setSeattype(String seattype) {
		this.seattype = seattype;
	}

	public String getVehicleno() {
		return vehicleno;
	}

	public void setVehicleno(String vehicleno) {
		this.vehicleno = vehicleno;
	}

	public String getDistance() {
		return distance;
	}

	public void setDistance(String distance) {
		this.distance = distance;
	}

	public String getTicketentrance() {
		return ticketentrance;
	}

	public void setTicketentrance(String ticketentrance) {
		this.ticketentrance = ticketentrance;
	}

	public String getWaitingroom() {
		return waitingroom;
	}

	public void setWaitingroom(String waitingroom) {
		this.waitingroom = waitingroom;
	}

	public String getBuspark() {
		return buspark;
	}

	public void setBuspark(String buspark) {
		this.buspark = buspark;
	}

}
